import request from '@/router/axios';


// 添加/修改短息模版 xmbz-system
export const saveOrUpdateSmsTemplate = (data) => {
  return request({
    url: '/api/xmbz-system/sms/saveOrUpdateSmsTemplate',
    // url: 'http://192.168.2.11:8107/order/list',
    method: 'POST',
    data
  })
}

// 删除短息模版 xmbz-system
export const deleteSmsTemplate = (query) => {
  return request({
    url: '/api/xmbz-system/sms/deleteSmsTemplate',
    // url: 'http://192.168.2.11:8107/order/list',
    method: 'GET',
    params: query
  })
}

// 分页获取短息模版记录 xmbz-system
export const getSmsTemplatePageInfo = (query) => {
  return request({
    url: '/api/xmbz-system/sms/getSmsTemplatePageInfo',
    // url: 'http://192.168.2.11:8107/order/list',
    method: 'GET',
    params: query
  })
}